#define MyAppVersion "1.0.0"
#define XApiPath "\SmartQuant Ltd\OpenQuant 2014\XAPI\x64\"
#define CfgPath "\SmartQuant Ltd\OpenQuant 2014\config\quantbox\"
#define QuantCfgPath "\SmartQuant Ltd\OpenQuant 2014\config\"
 #ifndef SvnRevision
  #define SvnRevision 0   
#endif

[Setup]
AppName={#MyAppName}
AppPublisher={#MyAppPublisher}
AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
AppVersion={#MyAppVersion}.{#SvnRevision}
VersionInfoVersion={#MyAppVersion}.{#SvnRevision}
DefaultDirName={code:OQSetupPath}
DisableDirPage=yes
DisableProgramGroupPage=yes
Compression=lzma
SolidCompression=yes
Uninstallable=no
PrivilegesRequired=admin

[Files]
; 插件安装程序
Source: "install\build\PluginInstaller.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\build\PluginInstaller.exe.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\build\Mono.Cecil.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\build\Mono.Cecil.Mdb.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\build\Mono.Cecil.Pdb.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\build\Mono.Cecil.Rocks.dll"; DestDir: "{app}"; Flags: ignoreversion
; 公共引用
Source: "install\build\Newtonsoft.Json.dll"; DestDir: "{app}"
Source: "install\build\System.Threading.Tasks.Dataflow.dll"; DestDir: "{app}"
Source: "install\build\System.Buffers.dll"; DestDir: "{app}"
Source: "install\build\System.Memory.dll"; DestDir: "{app}"
Source: "install\build\System.Numerics.Vectors.dll"; DestDir: "{app}"
Source: "install\build\System.Resources.Extensions.dll"; DestDir: "{app}"
Source: "install\build\System.Runtime.CompilerServices.Unsafe.dll"; DestDir: "{app}"
Source: "install\NLog.config"; DestDir: "{userappdata}{#QuantCfgPath}"; Flags: ignoreversion
Source: "install\build\NLog.dll"; DestDir: "{app}"
Source: "install\build\Serilog.dll"; DestDir: "{app}"
Source: "install\build\Serilog.Sinks.Console.dll"; DestDir: "{app}"
Source: "install\build\Serilog.Sinks.File.dll"; DestDir: "{app}"
Source: "install\build\Skyline.Core.dll"; DestDir: "{app}"
; QuantBox引用
Source: "install\build\LiteDB.dll"; DestDir: "{app}"
Source: "install\build\TickSerializer.dll"; DestDir: "{app}";
Source: "install\build\CSharpHdf.dll"; DestDir: "{app}";
Source: "install\build\HDF.PInvoke.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "install\hdf\hdf5_hl.dll"; DestDir: "{app}\bin64\"; Flags: ignoreversion
Source: "install\hdf\hdf5.dll"; DestDir: "{app}\bin64\"; Flags: ignoreversion
Source: "install\hdf\zlib1.dll"; DestDir: "{app}\bin64\"; Flags: ignoreversion
Source: "install\build\QuantBox.OQ.dll"; DestDir: "{app}"
Source: "install\build\QuantBox.XApiSharp.dll"; DestDir: "{app}"
